﻿#define _CRT_SECURE_NO_WARNINGS 1

//编程初学者入门训练第五十七题
//BC59 翻转直角三角形图案
//https://www.nowcoder.com/practice/2cdea429fa414fbba26e6c821724ca06?tpId=107&tqId=33340&rp=1&ru=/exam/oj/ta&qru=/exam/oj/ta&sourceUrl=%2Fexam%2Foj%2Fta%3FtpId%3D107&difficulty=undefined&judgeStatus=undefined&tags=&title=

#include <stdio.h>

int main() {
    int n = 0;
    while (scanf("%d", &n) != EOF) {
        for (int i = n; i > 0; i--) {
            for (int j = 0; j < i; j++) {
                printf("* ");
            }

            printf("\n");
        }
    }
    return 0;
}
